package com.sensePlusVR.bean;

import android.os.Parcel;
import android.os.Parcelable;


public class SexGameUnit implements Parcelable{

	private int gameId;//id
	
	private String scene;//场景
	
	private String male;//男主人
	
	private String female;//女主人	
	
	private String act;//动作
	
	private String cloth;//衣服
	
	private String config;//配置

	public SexGameUnit(){
		super();
	}
	
	public SexGameUnit(int gameId, String scene, String male, String female,
			String act, String cloth,String config) {
		super();
		this.gameId = gameId;
		this.scene = scene;
		this.male = male;
		this.female = female;
		this.act = act;
		this.cloth = cloth;
		this.config = config;
	}


	
	@Override
	public String toString() {
		return "SexGameUnit [gameId=" + gameId + ", scene=" + scene + ", male="
				+ male + ", female=" + female + ", act=" + act + ", cloth="
				+ cloth + ", config=" + config + "]";
	}

	public int getGameId() {
		return gameId;
	}

	public void setGameId(int gameId) {
		this.gameId = gameId;
	}

	public String getScene() {
		return scene;
	}

	public void setScene(String scene) {
		this.scene = scene;
	}

	public String getMale() {
		return male;
	}

	public void setMale(String male) {
		this.male = male;
	}

	public String getFemale() {
		return female;
	}

	public void setFemale(String female) {
		this.female = female;
	}

	public String getAct() {
		return act;
	}

	public void setAct(String act) {
		this.act = act;
	}

	public String getCloth() {
		return cloth;
	}

	public void setCloth(String cloth) {
		this.cloth = cloth;
	}

	public String getConfig() {
		return config;
	}

	public void setConfig(String config) {
		this.config = config;
	}



	public static final Parcelable.Creator<SexGameUnit> CREATOR = new Creator<SexGameUnit>(){

		@Override
		public SexGameUnit createFromParcel(Parcel source) {
			
			SexGameUnit sexGameUnit = new SexGameUnit();
			
			sexGameUnit.gameId = source.readInt();
			
			sexGameUnit.scene = source.readString();
			
			sexGameUnit.male = source.readString();
			
			sexGameUnit.female = source.readString();
			
			sexGameUnit.act = source.readString();
			
			sexGameUnit.cloth = source.readString();
			
			sexGameUnit.config = source.readString();
			
			
			
			return sexGameUnit;
		}

		@Override
		public SexGameUnit[] newArray(int size) {
			// TODO Auto-generated method stub
			return new SexGameUnit[size];
		}
		
	};
	

	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		
		dest.writeInt(gameId);
		
		dest.writeString(scene);
		
		dest.writeString(male);
		
		dest.writeString(female);
		
		dest.writeString(act);
		
		dest.writeString(cloth);
		
		dest.writeString(config);
		

		
	}
	
}
